Package-level declarations

Types

Link copied to clipboard
class OpenAPIGenStatusPagesInterop(val api: OpenAPIGen, val statusCfg: StatusPagesConfig)

Wrapper for Status pages that handles exceptions and generates documentation in OpenAPI. This is useful for default error pages.

Functions

Link copied to clipboard
inline fun StatusPagesConfig.withAPI(api: OpenAPIGen, crossinline cfg: OpenAPIGenStatusPagesInterop.() -> Unit = {})

Wraps StatusPages.Configuration to enable OpenAPI configuration for exception handling.